#include <structure.h>
namespace API
{
#include "Types.h"
#include "Types_Api.h"
#include "ArgvCheck.h"


#include <BasicMatic.h>



handle* WriteStream_(handle* stream,unsigned int* input, _length num, _length offset)
{
  //Check argvs
  int **tbl = MTypeFunc(WriteStream,_TYPE_STREAM_FROM,_TYPE_STREAM_TO,_BIN(11111));
  int (*fun)(void*,unsigned int*,_length,_length) = (int (*)(void*,unsigned int*,_length,_length))(tbl[stream->typeID - _TYPE_STREAM_FROM]);
  return ReturnArgv(fun(stream->object,input,num,offset));
}








}
